#!/bin/bash

# c++0x for labmda
g++ -std=c++0x -o runtest problem.cpp

if [ $? -ne 0 ]; then
    echo Compile error
    exit 1
fi

./runtest